import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home.vue'
import Name from '@/views/Name.vue'
import Result from '@/views/Result.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path:'/',component:Home},
    {path:'/name',component:Name},
    {path:'/result',component:Result}
  ]
})

export default router
